Orthogonal and Unitary Matrices